package request

type PostAdd struct {
	Userid int    `json:"userid"  binding:"required" form:"userid"`
	Title  string `json:"title"  binding:"required" form:"title"`
	Text   string `json:"text"  binding:"required" form:"text"`
	Image  string `json:"image"  binding:"required" form:"image"`
	Type   string `json:"type"  binding:"required" form:"type"`
	Status int    `json:"status"  binding:"required" form:"status"`
}
type PostList struct {
	Page   int    `json:"page"  form:"page"`
	Size   int    `json:"size"  form:"size"`
	Title  string `json:"title"  form:"title"`
	Status int    `json:"status"  form:"status"`
}
type PostShow struct {
	Userid int `json:"userid" form:"userid"`
}
type PostShowList struct {
	Id int `json:"id" form:"id"`
}
type PostDel struct {
	Id int `json:"id" form:"id"`
}
